<?php

/*
* Yii cron application file
*/

/* setup default time zone */
date_default_timezone_set('UTC');

/* change dir to root */
chdir(dirname(__FILE__) . '/..');

/* change to set debug mode */
defined('YII_DEBUG') or define('YII_DEBUG',true);
require_once('common/lib/skillLiveServerSetting.php');
$configFile = 'console/config/main.php';
require_once('common/lib/Message.php');
require_once('common/lib/commonFunctions.php');
require_once('common/lib/SkillConfig.php');
require_once('common/lib/Yii/yii.php');

// creating and running console application
Yii::createConsoleApplication($configFile)->run();
?>